package com.alks.function.data.dto.produce;

import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class PartListDto {

    @ApiModelProperty("部位")
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String partName;

    @ApiModelProperty("序号")
    private int seqNo;

    @ApiModelProperty("最大数量")
    private int qty;
}
